import Vue from 'vue'
import App from './App'
import * as funs from "./utils/methods-collection/getFun.js"
import api from "./api/interface.js"
import md5 from "./utils/md5/index.js"
import baseUrl from "./utils/request/config.js"
// 公共组件
import NavBar from '@/custom-component/nav-bar/nav-bar.vue'
import CustomContent from '@/custom-component/custom-content/custom-content.vue'
import NavClick from '@/custom-component/nav-click/nav-click.vue'
import dropdown from '@/custom-component/dt-dropdown/dt-dropdown.vue' 
import UniIcons from "./components/uni-icons/uni-icons.vue";
import SearchBar from "./components/uni-search-bar/uni-search-bar.vue";

Vue.config.productionTip = false

Vue.component('NavBar', NavBar)
Vue.component('CustomContent', CustomContent)
Vue.component('NavClick', NavClick)
Vue.component('dropdown', dropdown)
Vue.component('UniIcons', UniIcons)
Vue.component('SearchBar', SearchBar)

Vue.prototype.$funs = funs;
Vue.prototype.$api = api;
Vue.prototype.$url = baseUrl+'/';
Vue.prototype.$md5 = md5;

App.mpType = 'app'
const app = new Vue({
	...App,
})
app.$mount()
